package Discount;

import java.util.Map;

public class DiscountImpl implements Discount{
	private Map<String, Double> discountItem;
	private Map<String, Double> subtotal;
	private Map<String,Double> discoutValue;
	private double total;
	private double spare;
	private int isDiscount;
	
	@Override
	public int getIsDiscount() {
		return isDiscount;
	}
	@Override
	public void setIsDiscount(int isDiscount) {
		this.isDiscount = isDiscount;
	}


	public double getTotal() {
		return total;
	}

	public void setTotal(double total) {
		this.total = total;
	}

	public double getSpare() {
		return spare;
	}


	public void setSpare(double spare) {
		this.spare = spare;
	}


	public Map<String, Double> getDiscountItem() {
		return discountItem;
	}

	public void setDiscountItem(Map<String, Double> tmpDiscount) {
		this.discountItem = tmpDiscount;
	}
	
	public Map<String, Double> getSubtotal() {
		return subtotal;
	}

	public void setSubtotal(Map<String, Double> subtotal) {
		this.subtotal = subtotal;
	}

	public Map<String, Double> getDiscoutValue() {
		return discoutValue;
	}

	public void setDiscoutValue(Map<String, Double> discoutValue) {
		this.discoutValue = discoutValue;
	}


	
	
}
